﻿using ClassLibrary1;
using DependencyAnalysis;
using DependencyAnalysis.DataModel;

namespace UnitTests
{
    public abstract class AnalyzerTestBase
    {
        protected static readonly IDependencyModel Model;
        protected static readonly Metrics Metrics;
        protected static readonly Setup Setup;

        static AnalyzerTestBase()
        {
            Setup = Setup.BuildStandardSetup();
            Model = Setup.Model;
            Metrics = Setup.Metrics;
            Setup.StartAnalysis(new[] { typeof(Class1).Assembly });
        }
    }
}
